( ! ) Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's%20Garden%20Headbands%' LIMIT 1000' at line 5 in /home/admin/domains/_includes/db_connection.php on line 904
( ! ) mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's%20Garden%20Headbands%' LIMIT 1000' at line 5 in /home/admin/domains/_includes/db_connection.php on line 904
Call Stack
#TimeMemoryFunctionLocation
10.0003362560{main}( ).../hb_default.php:0
20.0014367600showSearchResults( $str = 'Karin\'s%20Garden%20Headbands', $str2 = ??? ).../hb_default.php:284
30.0033411224dbConnection->query( $str = 'SELECT c.Name,c.Description,c.CatalogItemID,m.Name as Brand,p.MfgPartNo,p.ListPrice,p.Weight,p.Image2\r\n\tFROM CatalogItem c\r\n\tINNER JOIN ProductItem p ON c.CatalogItemID=p.ProductItemID\r\n\tLEFT JOIN Manufacturer m ON m.ManufacturerID = p.ManufacturerID\r\n\tWHERE p.Image2 IS NOT NULL AND p.Image2 != \'\' AND c.Name LIKE \'%Karin\'s%20Garden%20Headbands%\' LIMIT 1000' ).../search.php:39
40.0035411224query( $query = 'SELECT c.Name,c.Description,c.CatalogItemID,m.Name as Brand,p.MfgPartNo,p.ListPrice,p.Weight,p.Image2\r\n\tFROM CatalogItem c\r\n\tINNER JOIN ProductItem p ON c.CatalogItemID=p.ProductItemID\r\n\tLEFT JOIN Manufacturer m ON m.ManufacturerID = p.ManufacturerID\r\n\tWHERE p.Image2 IS NOT NULL AND p.Image2 != \'\' AND c.Name LIKE \'%Karin\'s%20Garden%20Headbands%\' LIMIT 1000' ).../db_connection.php:904